home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 5_programming / on / kick < prev    next >
Encoding:
Text File  |  2001-03-21  |  669 b   |  27 lines

  1. Synopsis:
  2.    on [<modes>]kick [<serial#>] [-|^]<match> { <action> }
  3.  
  4. Description:
  5.    This hook is triggered whenever the client observes another client (or
  6.    itself!) being kicked from a channel.
  7.  
  8. Parameters:
  9.    $0    nickname of user kicked from channel
  10.    $1    nickname of user kicking $0 from channel
  11.    $2    channel kick observed on
  12.    $3-   kick message
  13.  
  14. Examples:
  15.    To distinguish who is being kicked on a channel:
  16.       on ^kick "*" {
  17.          if ( [$0] == N ) {
  18.             echo *** You have been kicked from $2 by $1 \($3-\)
  19.          } {
  20.             echo *** $0 has been kicked from $2 by $1 \($3-\)
  21.          }
  22.       }
  23.  
  24. See Also:
  25.    kick(1)
  26.  
  27.